
public class AA {
    //    String name;
//    int age;
    public AA(/*String name, int age*/) {
//        this.name = name;
//        this.age = age;

    }

    static {
        System.out.println("AA静态代码块");
    }
}

class BB extends AA{
    public BB(/*String name,int age*/) {
        super(/*name, age*/);
    }
    static {
        System.out.println("BB静态代码块");
    }

    public static void main(String[] args) {
        System.out.println("hehe");
    }
}
